package cn.com.roy.thread.t4_1_2.conditiontestmoremethod;

public class ThreadA extends Thread{
    private MyService service ;

    public ThreadA(MyService service){
        this.service = service;
    }

    @Override
    public void run() {
        super.run();
        service.methodA();
    }
}
